﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Konst3d.Efficiency.Suite;

namespace DevUI
{
    public partial class CreateMonitorDialog : Form
    {
        public string MonitorName
        {
            get
            {
                return uiNameTextBox.Text;
            }
        }

        public string MonitorDescription
        {
            get
            {
                return uiDescriptionTextBox.Text;
            }
        }

        public MonitorType MonitorType
        {
            get
            {
                return (MonitorType)uiMonitorTypeComboBox.SelectedIndex;
            }
        }

        public CreateMonitorDialog()
        {
            InitializeComponent();

            uiMonitorTypeComboBox.SelectedIndex = 0;
        }

        private void uiCreateButton_Click(object sender, EventArgs e)
        {
            DialogResult = System.Windows.Forms.DialogResult.OK;
        }
    }
}
